<style type="text/css">
	#panel-register {
		padding:20px;
		background-color:#f6e4bd;
	}
	.form-input .title {
		margin:0px;
	}
	.form-input label {
		width:200px;
		float:left;
	}
	.block-row {		
		border:1px solid #e9d09a;
		margin:5px 0px;	
	}
	.block-row h5 {
		display:block;
		background-color:#ff9900;
		color:#000;
		padding:5px 3px;
		margin:0px;
	}
	.block-row .content {
		padding:20px 30px;		
	}
	ul.list-input {
		list-style-type:none;
		margin:0px;
		padding:0px;
	}
	ul.list-input-date {
		overflow:hidden;
		width:300px;
		display:inline-block;
	}
	ul.list-input-date li {
		float:left;
		width:50px;
	}
	ul.list-input-date .d-list {
		width:40px;
	}
</style>
<div class="dialog-base" id="panel-register">
	<h3>ลงทะเบียนเข้าใช้งาน</h3>	
	<div class="facebook-regist">
		<script src="https://connect.facebook.net/en_US/all.js#appId=<?php print $facebook_api_id; ?>&xfbml=1"></script>
		<div id="fb-root"></div>		
		<fb:registration			
		  fields="[
		  	{'name':'name'},
		  	{'name':'birthday',	'description':'birthday',	'type':'text'},		  	
		  	{'name':'location',	'description':'location',	'type':'text'},
		  	{'name':'email'}
		  ]"
		  redirect-uri="<?php print base_url(); ?>register/fb_submit"
		  width="530">
		</fb:registration>
	</div>
	<fb:login-button
registration-url="<?php print base_url(); ?>register/fb_submit" />
</div>